package hnlg.com.cn.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import hnlg.com.cn.vo.Unit;

@Mapper
public interface UnitMapper {
   
	public boolean addUnit(Unit unit)throws Exception;
   
    public boolean deleteUnit(int id)throws Exception;
    
    public boolean updateUnit(Unit unit)throws Exception;
    
    public List<Unit> queryUnit(Unit unit) throws Exception;
    
    public boolean deleteBatch(String arr[])throws Exception;
	
	
}
